//-------------------------------------------------------------------
//	Copyright (c) 2010-2014  Zhirnov Andrey
//	This file is part of the "UX Standard Lib" project.
//	See copyright notice in "UX_STL_Ext.h".
//-------------------------------------------------------------------

#ifndef _UXS_OPERATING_SYSTEM_PLATFORM_H
#define _UXS_OPERATING_SYSTEM_PLATFORM_H

#pragma once

#include "Base/OSTypes.h"

#ifdef PLATFORM_WINDOWS
#	include "Windows/Platform.h"
#endif

#ifdef PLATFORM_LINUX
#	include "Linux/Platform.h"
#endif

#ifdef PLATFORM_ANDROID
#endif

#ifdef PLATFORM_SDL
#	include "SDL/Platform.h"
#endif


namespace UX_STL
{
namespace UXTypesExt
{
	
#ifdef PLATFORM_WINDOWS_SHELL
	typedef _platform_::WinApiPlatform		TPlatform;
	typedef _platform_::e_msg_buttons		e_msg_buttons;
	typedef _platform_::e_msg_button_ret	e_msg_button_ret;
	typedef _platform_::CWindow::e_wc_style	e_wc_style;
#endif

#ifdef PLATFORM_ANDROID_SHELL
	typedef _platform_::AndroidPlatform		TPlatform;
#endif

#ifdef PLATFORM_SDL
	typedef _platform_::SDLPlatform			TPlatform;
#endif



	namespace e_key
	{
#	ifdef PLATFORM_SDL
		using namespace _platform_::e_sdl_key;
#	else

#	 ifdef PLATFORM_WINDOWS
		using namespace _platform_::e_win_key;
#	 endif

#	 ifdef PLATFORM_ANDROID
		using namespace _platform_::e_and_key;
#	 endif

#	endif	// PLATFORM_SDL
	}
	
}	// UXTypesExt
}	// UX_STL

//-------------------------------------------------------------------


#endif	// _UXS_OPERATING_SYSTEM_PLATFORM_H